Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Base-64 encoding...

I don't know what would cause that, but the body text has simply been base-64 encoded.

I could guess that from the look of the text, but it's confirmed by the appearance of "Content-Transfer-Encoding: base64" at the top.

I also put just the first line into an online base-64 decoder (https://www.base64decode.org) to check that it produces readable text, which it does.

If you can't find a better or easier solution, one option would be to do this:
Add a Java agent to the mail-in database, and set the agent to run before new mail arrives.
Program the agent to check for the "Content-Transfer-Encoding" header with the value "base64" and, if that is present, decode the body and replace it with the decoded value.

I recommend Java over LotusScript for this only because Java includes the "sun.misc.BASE64Decoder" class, which you can use for decoding base-64, though that class is not officially supported.

LotusScript doesn't have any classes or functions that are purely for decoding or encoding base-64, though you could get the body as a NotesMIMEEntity and use the DecodeContent method on that.
Processing the email as MIME is just a bit more complex than processing it as Notes rich text.


Feedback response number SLES9UN6MP created by ~George Umboosicheketsi on 03/16/2015

Exchange mail to Lotus is garbled (~Hal Quetlu 11.Mar.15)
. . Possibly (~Sean Eljumigon... 11.Mar.15)
. . . . Well, it isn't a personal mail (~Hal Quetlu 11.Mar.15)
. . . . . . Clarification (~Sean Eljumigon... 11.Mar.15)
. . . . . . . . Changed to the two other settings..... (~Hal Quetlu 11.Mar.15)
. . . . . . . . . . So (~Sean Eljumigon... 11.Mar.15)
. . . . . . . . . . . . I haven't gotten it to work (~Hal Quetlu 11.Mar.15)
. . . . . . . . . . . . . . Suggestion (~Sean Eljumigon... 11.Mar.15)
. . Did the consultant change things on... (~Ned Nimfanakon... 12.Mar.15)
. . . . Here is what the body has in it (~Hal Quetlu 12.Mar.15)
. . . . . . Well.. (~Hal Quetlu 12.Mar.15)
. . . . . . Spacing (~Ned Nimfanakon... 17.Mar.15)
. . . . . . Base-64 encoding... (~Bella Zenfooma... 16.Mar.15)
. . . . . . . . Ok (~Hal Quetlu 16.Mar.15)
. . . . . . . . . . I suspect that there's an extraneou... (~Jennifer Desve... 17.Mar.15)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS